#!/bin/bash
cd src 
make
cd ..
rm -rf lib/libnlp.so
cp -f src/libnlp.so lib/

#compile test model
g++ -o main main.cpp -g -O3 -march=native -Isrc/ -Iinclude/  -Llib/  -lnlp

#compile restfulAPI
g++ -o classifierAPI restAPI.cpp -g -O3 -march=native -Isrc/ -Iinclude/  -Llib/  -lnlp -lpthread -lm -lrestbed
 
